home *** CD-ROM | disk | FTP | other *** search
- package java.beans;
-
- import java.applet.Applet;
- import java.applet.AppletContext;
- import java.applet.AppletStub;
- import java.net.URL;
-
- class BeansAppletStub implements AppletStub {
- transient boolean active;
- transient Applet target;
- transient AppletContext context;
- transient URL codeBase;
- transient URL docBase;
-
- BeansAppletStub(Applet target, AppletContext context, URL codeBase, URL docBase) {
- this.target = target;
- this.context = context;
- this.codeBase = codeBase;
- this.docBase = docBase;
- }
-
- public void appletResize(int width, int height) {
- }
-
- public AppletContext getAppletContext() {
- return this.context;
- }
-
- public URL getCodeBase() {
- return this.codeBase;
- }
-
- public URL getDocumentBase() {
- return this.docBase;
- }
-
- public String getParameter(String name) {
- return null;
- }
-
- public boolean isActive() {
- return this.active;
- }
- }
-